Skip to content

Conversation

@wind57
Copy link
Contributor

@wind57 wind57 commented Dec 4, 2024

No description provided.

@wind57 wind57 changed the title typo fix failling tests Dec 4, 2024
@wind57
Copy link
Contributor Author

wind57 commented Dec 4, 2024

let's try a simple fix first, because I can't yet explain myself why the tests are failing. May be there is a concurrency issue here, thus I replaced an array with an AtomicBoolean. If the tests still fail on jenkins, would be great if you can share the logs from : org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest where I added some minor debugging, that will at least give me a hint of where to look at.

btw, I can't replay to the original message you did, because github does not show messages under commits anymore for me, it just shows that it tries to load them, but never does, so if you do not mind, let's keep the discussion here.

@wind57 wind57 marked this pull request as ready for review December 4, 2024 08:18
@ryanjbaxter ryanjbaxter merged commit e99a781 into spring-cloud:3.1.x Dec 4, 2024
13 checks passed
@ryanjbaxter
Copy link
Contributor

@wind57 unfortunately it still failed. Below are the logs from org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest

09:05:29 [INFO] Running org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest
09:05:30 2024-12-04T14:05:30.078Z  INFO   --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.springframework.cloud.kubernetes.client.config.Application for test class org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest
09:05:33 
09:05:33   .   ____          _            __ _ _
09:05:33  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
09:05:33 ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
09:05:33  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
09:05:33   '  |____| .__|_| |_|_| |_\__, | / / / /
09:05:33  =========|_|==============|___/=/_/_/_/
09:05:33  :: Spring Boot ::               (v3.2.12)
09:05:33 
09:05:33 2024-12-04T14:05:33.318Z  INFO 55677 --- [           main] o.s.c.k.c.c.r.PollingReloadConfigMapTest : Starting PollingReloadConfigMapTest using Java 17.0.12 with PID 55677 (started by jenkins in /opt/jenkins/data/workspace/spring-cloud-kubernetes-Leyton-3.1.x-openjdk17-ci/spring-cloud-kubernetes-client-config)
09:05:33 2024-12-04T14:05:33.320Z DEBUG 55677 --- [           main] o.s.c.k.c.c.r.PollingReloadConfigMapTest : Running with Spring Boot v3.2.12, Spring v6.1.15
09:05:33 2024-12-04T14:05:33.322Z  INFO 55677 --- [           main] o.s.c.k.c.c.r.PollingReloadConfigMapTest : No active profile set, falling back to 1 default profile: "default"
09:05:36 2024-12-04T14:05:36.116Z  INFO 55677 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=bbd60c66-0f0f-3254-8483-c1ac0064a68f
09:05:36 2024-12-04T14:05:36.880Z DEBUG 55677 --- [           main] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:36 2024-12-04T14:05:36.931Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:36 2024-12-04T14:05:36.931Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : Accept: application/json
09:05:36 2024-12-04T14:05:36.931Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:36 2024-12-04T14:05:36.932Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:36 2024-12-04T14:05:36.932Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : --> END GET
09:05:37 2024-12-04T14:05:37.005Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (71ms)
09:05:37 2024-12-04T14:05:37.006Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : Matched-Stub-Id: a56d75f2-56fb-4124-b728-816b9b1bcf2f
09:05:37 2024-12-04T14:05:37.007Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:37 2024-12-04T14:05:37.012Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : 
09:05:37 2024-12-04T14:05:37.013Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : {"items":[{"data":{},"metadata":{"name":"mine"}}]}
09:05:37 2024-12-04T14:05:37.013Z  INFO 55677 --- [           main] okhttp3.OkHttpClient                     : <-- END HTTP (50-byte body)
09:05:37 2024-12-04T14:05:37.025Z DEBUG 55677 --- [           main] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:37 2024-12-04T14:05:37.030Z DEBUG 55677 --- [           main] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:37 2024-12-04T14:05:37.032Z DEBUG 55677 --- [           main] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:37 2024-12-04T14:05:37.038Z DEBUG 55677 --- [           main] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:37 2024-12-04T14:05:37.039Z DEBUG 55677 --- [           main] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:37 2024-12-04T14:05:37.120Z  INFO 55677 --- [           main] c.k.c.c.r.PollingConfigMapChangeDetector : Kubernetes polling configMap change detector activated
09:05:39 2024-12-04T14:05:39.155Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'}]}
09:05:39 2024-12-04T14:05:39.156Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'}]
09:05:39 2024-12-04T14:05:39.160Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:39 2024-12-04T14:05:39.161Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:39 2024-12-04T14:05:39.163Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:39 2024-12-04T14:05:39.163Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:39 2024-12-04T14:05:39.166Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:39 2024-12-04T14:05:39.166Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:39 2024-12-04T14:05:39.166Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:39 2024-12-04T14:05:39.177Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 500 Server Error http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (10ms)
09:05:39 2024-12-04T14:05:39.177Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 6b9ba78f-b4e4-4368-9f70-8301d813741a
09:05:39 2024-12-04T14:05:39.177Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:39 2024-12-04T14:05:39.178Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:39 2024-12-04T14:05:39.181Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Internal Server Error
09:05:39 2024-12-04T14:05:39.181Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (21-byte body)
09:05:39 2024-12-04T14:05:39.184Z  WARN 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.NamedSourceData   : Failure in reading named sources
09:05:39 2024-12-04T14:05:39.184Z  WARN 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Internal Server Error. Ignoring.
09:05:39 
09:05:39 java.lang.RuntimeException: Internal Server Error
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapsCache.lambda$byNamespace$0(KubernetesClientConfigMapsCache.java:63)
09:05:39 	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapsCache.byNamespace(KubernetesClientConfigMapsCache.java:54)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigUtils.strippedConfigMaps(KubernetesClientConfigUtils.java:139)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigUtils.configMapsDataByName(KubernetesClientConfigUtils.java:130)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.NamedConfigMapContextToSourceDataProvider$1.dataSupplier(NamedConfigMapContextToSourceDataProvider.java:57)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.NamedSourceData.compute(NamedSourceData.java:57)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.NamedConfigMapContextToSourceDataProvider.lambda$get$0(NamedConfigMapContextToSourceDataProvider.java:60)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapPropertySource.lambda$getSourceData$0(KubernetesClientConfigMapPropertySource.java:47)
09:05:39 	at java.base/java.util.Optional.map(Optional.java:260)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapPropertySource.getSourceData(KubernetesClientConfigMapPropertySource.java:47)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapPropertySource.<init>(KubernetesClientConfigMapPropertySource.java:41)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapPropertySourceLocator.getMapPropertySource(KubernetesClientConfigMapPropertySourceLocator.java:57)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator.lambda$locate$0(ConfigMapPropertySourceLocator.java:86)
09:05:39 	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator.locate(ConfigMapPropertySourceLocator.java:85)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadUtil.locateMapPropertySources(ConfigReloadUtil.java:142)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadUtil.reload(ConfigReloadUtil.java:70)
09:05:39 	at org.springframework.cloud.kubernetes.commons.config.reload.PollingConfigMapChangeDetector.executeCycle(PollingConfigMapChangeDetector.java:74)
09:05:39 	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
09:05:39 	at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:96)
09:05:39 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
09:05:39 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
09:05:39 	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
09:05:39 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
09:05:39 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
09:05:39 	at java.base/java.lang.Thread.run(Thread.java:840)
09:05:39 Caused by: io.kubernetes.client.openapi.ApiException: Server Error
09:05:39 	at io.kubernetes.client.openapi.ApiClient.handleResponse(ApiClient.java:989)
09:05:39 	at io.kubernetes.client.openapi.ApiClient.execute(ApiClient.java:905)
09:05:39 	at io.kubernetes.client.openapi.apis.CoreV1Api.listNamespacedConfigMapWithHttpInfo(CoreV1Api.java:16907)
09:05:39 	at io.kubernetes.client.openapi.apis.CoreV1Api.listNamespacedConfigMap(CoreV1Api.java:16876)
09:05:39 	at org.springframework.cloud.kubernetes.client.config.KubernetesClientConfigMapsCache.lambda$byNamespace$0(KubernetesClientConfigMapsCache.java:58)
09:05:39 	... 26 common frames omitted
09:05:39 
09:05:39 2024-12-04T14:05:39.197Z  WARN 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Failed to load source: { config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }
09:05:39 2024-12-04T14:05:39.197Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:39 2024-12-04T14:05:39.200Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'}]}
09:05:39 2024-12-04T14:05:39.203Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : []
09:05:39 2024-12-04T14:05:39.204Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : k8s property sources size: 0
09:05:39 2024-12-04T14:05:39.207Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : app property sources size size: 1
09:05:39 2024-12-04T14:05:39.207Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}
09:05:39 2024-12-04T14:05:39.208Z  WARN 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : The current number of PropertySources does not match the ones loaded from Kubernetes - No reload will take place
09:05:39 2024-12-04T14:05:39.208Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Reloadable condition was not satisfied, reload will not be triggered
09:05:39 2024-12-04T14:05:39.242Z  INFO 55677 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
09:05:39 2024-12-04T14:05:39.478Z  INFO 55677 --- [           main] o.s.c.k.c.c.r.PollingReloadConfigMapTest : Started PollingReloadConfigMapTest in 6.807 seconds (process running for 11.477)
09:05:41 2024-12-04T14:05:41.209Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:41 2024-12-04T14:05:41.209Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:41 2024-12-04T14:05:41.209Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:41 2024-12-04T14:05:41.211Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:41 2024-12-04T14:05:41.212Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:41 2024-12-04T14:05:41.213Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:41 2024-12-04T14:05:41.213Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:41 2024-12-04T14:05:41.213Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:41 2024-12-04T14:05:41.213Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:41 2024-12-04T14:05:41.219Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (5ms)
09:05:41 2024-12-04T14:05:41.219Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:41 2024-12-04T14:05:41.219Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:41 2024-12-04T14:05:41.221Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:41 2024-12-04T14:05:41.222Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:41 2024-12-04T14:05:41.222Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:41 2024-12-04T14:05:41.223Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:41 2024-12-04T14:05:41.224Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:41 2024-12-04T14:05:41.224Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:41 2024-12-04T14:05:41.225Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:41 2024-12-04T14:05:41.225Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:41 2024-12-04T14:05:41.225Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:41 2024-12-04T14:05:41.225Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@1725489542 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:41 2024-12-04T14:05:41.227Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@1725489542 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:41 2024-12-04T14:05:41.228Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:41 2024-12-04T14:05:41.228Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:41 2024-12-04T14:05:41.229Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:41 one: true two: true three: true updateStrategyNotCalled: false
09:05:42 one: true two: true three: true updateStrategyNotCalled: false
09:05:43 2024-12-04T14:05:43.230Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:43 2024-12-04T14:05:43.231Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:43 2024-12-04T14:05:43.231Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:43 2024-12-04T14:05:43.233Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:43 2024-12-04T14:05:43.234Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:43 2024-12-04T14:05:43.234Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:43 2024-12-04T14:05:43.234Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:43 2024-12-04T14:05:43.234Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:43 2024-12-04T14:05:43.234Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:43 2024-12-04T14:05:43.239Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:43 2024-12-04T14:05:43.239Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:43 2024-12-04T14:05:43.239Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:43 2024-12-04T14:05:43.241Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:43 2024-12-04T14:05:43.241Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:43 2024-12-04T14:05:43.241Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:43 2024-12-04T14:05:43.242Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:43 2024-12-04T14:05:43.242Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:43 2024-12-04T14:05:43.243Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:43 2024-12-04T14:05:43.243Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:43 2024-12-04T14:05:43.243Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:43 2024-12-04T14:05:43.243Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:43 2024-12-04T14:05:43.244Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@177181156 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:43 2024-12-04T14:05:43.244Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@177181156 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:43 2024-12-04T14:05:43.244Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:43 2024-12-04T14:05:43.244Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:43 2024-12-04T14:05:43.244Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:43 one: true two: true three: true updateStrategyNotCalled: false
09:05:44 one: true two: true three: true updateStrategyNotCalled: false
09:05:45 2024-12-04T14:05:45.245Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:45 2024-12-04T14:05:45.245Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:45 2024-12-04T14:05:45.245Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:45 2024-12-04T14:05:45.246Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:45 2024-12-04T14:05:45.246Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:45 2024-12-04T14:05:45.247Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:45 2024-12-04T14:05:45.247Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:45 2024-12-04T14:05:45.247Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:45 2024-12-04T14:05:45.247Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:45 2024-12-04T14:05:45.252Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:45 2024-12-04T14:05:45.253Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:45 2024-12-04T14:05:45.253Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:45 2024-12-04T14:05:45.253Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:45 2024-12-04T14:05:45.253Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:45 2024-12-04T14:05:45.254Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:45 2024-12-04T14:05:45.255Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:45 2024-12-04T14:05:45.256Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:45 2024-12-04T14:05:45.257Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:45 2024-12-04T14:05:45.257Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:45 2024-12-04T14:05:45.257Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:45 2024-12-04T14:05:45.258Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:45 2024-12-04T14:05:45.259Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@737842658 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:45 2024-12-04T14:05:45.259Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@737842658 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:45 2024-12-04T14:05:45.259Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:45 2024-12-04T14:05:45.260Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:45 2024-12-04T14:05:45.260Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:45 one: true two: true three: true updateStrategyNotCalled: false
09:05:46 one: true two: true three: true updateStrategyNotCalled: false
09:05:47 2024-12-04T14:05:47.260Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:47 2024-12-04T14:05:47.261Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:47 2024-12-04T14:05:47.261Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:47 2024-12-04T14:05:47.261Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:47 2024-12-04T14:05:47.262Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:47 2024-12-04T14:05:47.262Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:47 2024-12-04T14:05:47.262Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:47 2024-12-04T14:05:47.263Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:47 2024-12-04T14:05:47.263Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:47 2024-12-04T14:05:47.270Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (7ms)
09:05:47 2024-12-04T14:05:47.270Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:47 2024-12-04T14:05:47.270Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:47 2024-12-04T14:05:47.271Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:47 2024-12-04T14:05:47.271Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:47 2024-12-04T14:05:47.271Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:47 2024-12-04T14:05:47.271Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:47 2024-12-04T14:05:47.275Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:47 2024-12-04T14:05:47.275Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:47 2024-12-04T14:05:47.276Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:47 2024-12-04T14:05:47.276Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:47 2024-12-04T14:05:47.276Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:47 2024-12-04T14:05:47.279Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@1004094405 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:47 2024-12-04T14:05:47.279Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@1004094405 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:47 2024-12-04T14:05:47.279Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:47 2024-12-04T14:05:47.279Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:47 2024-12-04T14:05:47.279Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:47 one: true two: true three: true updateStrategyNotCalled: false
09:05:48 one: true two: true three: true updateStrategyNotCalled: false
09:05:49 2024-12-04T14:05:49.280Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:49 2024-12-04T14:05:49.280Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:49 2024-12-04T14:05:49.281Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:49 2024-12-04T14:05:49.281Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:49 2024-12-04T14:05:49.282Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:49 2024-12-04T14:05:49.282Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:49 2024-12-04T14:05:49.282Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:49 2024-12-04T14:05:49.282Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:49 2024-12-04T14:05:49.282Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:49 2024-12-04T14:05:49.287Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:49 2024-12-04T14:05:49.288Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:49 2024-12-04T14:05:49.288Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:49 2024-12-04T14:05:49.288Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:49 2024-12-04T14:05:49.288Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:49 2024-12-04T14:05:49.288Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:49 2024-12-04T14:05:49.289Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:49 2024-12-04T14:05:49.289Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:49 2024-12-04T14:05:49.290Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:49 2024-12-04T14:05:49.290Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:49 2024-12-04T14:05:49.290Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:49 2024-12-04T14:05:49.290Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:49 2024-12-04T14:05:49.291Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@1088487968 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:49 2024-12-04T14:05:49.291Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@1088487968 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:49 2024-12-04T14:05:49.291Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:49 2024-12-04T14:05:49.291Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:49 2024-12-04T14:05:49.291Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:49 one: true two: true three: true updateStrategyNotCalled: false
09:05:50 one: true two: true three: true updateStrategyNotCalled: false
09:05:51 2024-12-04T14:05:51.292Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:51 2024-12-04T14:05:51.292Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:51 2024-12-04T14:05:51.293Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:51 2024-12-04T14:05:51.293Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:51 2024-12-04T14:05:51.294Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:51 2024-12-04T14:05:51.294Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:51 2024-12-04T14:05:51.294Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:51 2024-12-04T14:05:51.294Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:51 2024-12-04T14:05:51.294Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:51 2024-12-04T14:05:51.298Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:51 2024-12-04T14:05:51.299Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:51 2024-12-04T14:05:51.299Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:51 2024-12-04T14:05:51.300Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:51 2024-12-04T14:05:51.300Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:51 2024-12-04T14:05:51.300Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:51 2024-12-04T14:05:51.303Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:51 2024-12-04T14:05:51.303Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:51 2024-12-04T14:05:51.303Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:51 2024-12-04T14:05:51.306Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:51 2024-12-04T14:05:51.306Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:51 2024-12-04T14:05:51.306Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:51 2024-12-04T14:05:51.306Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@915909481 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:51 2024-12-04T14:05:51.307Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@915909481 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:51 2024-12-04T14:05:51.307Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:51 2024-12-04T14:05:51.307Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:51 2024-12-04T14:05:51.307Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:51 one: true two: true three: true updateStrategyNotCalled: false
09:05:52 one: true two: true three: true updateStrategyNotCalled: false
09:05:53 2024-12-04T14:05:53.307Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:53 2024-12-04T14:05:53.308Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:53 2024-12-04T14:05:53.308Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:53 2024-12-04T14:05:53.308Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:53 2024-12-04T14:05:53.309Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:53 2024-12-04T14:05:53.310Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:53 2024-12-04T14:05:53.310Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:53 2024-12-04T14:05:53.310Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:53 2024-12-04T14:05:53.310Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:53 2024-12-04T14:05:53.315Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:53 2024-12-04T14:05:53.315Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:53 2024-12-04T14:05:53.316Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:53 2024-12-04T14:05:53.317Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:53 2024-12-04T14:05:53.318Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:53 2024-12-04T14:05:53.319Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:53 2024-12-04T14:05:53.320Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:53 2024-12-04T14:05:53.320Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:53 2024-12-04T14:05:53.320Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:53 2024-12-04T14:05:53.321Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:53 2024-12-04T14:05:53.321Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:53 2024-12-04T14:05:53.321Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:53 2024-12-04T14:05:53.321Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@1237151196 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:53 2024-12-04T14:05:53.321Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@1237151196 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:53 2024-12-04T14:05:53.321Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:53 2024-12-04T14:05:53.322Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:53 2024-12-04T14:05:53.322Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:53 one: true two: true three: true updateStrategyNotCalled: false
09:05:54 one: true two: true three: true updateStrategyNotCalled: false
09:05:55 2024-12-04T14:05:55.322Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:55 2024-12-04T14:05:55.323Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:55 2024-12-04T14:05:55.323Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:55 2024-12-04T14:05:55.323Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:55 2024-12-04T14:05:55.324Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:55 2024-12-04T14:05:55.324Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:55 2024-12-04T14:05:55.324Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:55 2024-12-04T14:05:55.325Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:55 2024-12-04T14:05:55.325Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:55 2024-12-04T14:05:55.335Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (9ms)
09:05:55 2024-12-04T14:05:55.335Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:55 2024-12-04T14:05:55.335Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:55 2024-12-04T14:05:55.336Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:55 2024-12-04T14:05:55.336Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:55 2024-12-04T14:05:55.336Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:55 2024-12-04T14:05:55.337Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:55 2024-12-04T14:05:55.337Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:55 2024-12-04T14:05:55.337Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:55 2024-12-04T14:05:55.338Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:55 2024-12-04T14:05:55.338Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:55 2024-12-04T14:05:55.338Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:55 2024-12-04T14:05:55.338Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@940300357 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:55 2024-12-04T14:05:55.339Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@940300357 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:55 2024-12-04T14:05:55.339Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:55 2024-12-04T14:05:55.339Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:55 2024-12-04T14:05:55.339Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:55 one: true two: true three: true updateStrategyNotCalled: false
09:05:56 one: true two: true three: true updateStrategyNotCalled: false
09:05:57 2024-12-04T14:05:57.340Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:57 2024-12-04T14:05:57.341Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:57 2024-12-04T14:05:57.341Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:57 2024-12-04T14:05:57.341Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:57 2024-12-04T14:05:57.342Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:57 2024-12-04T14:05:57.342Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:57 2024-12-04T14:05:57.342Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:57 2024-12-04T14:05:57.342Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:57 2024-12-04T14:05:57.343Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:57 2024-12-04T14:05:57.347Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (4ms)
09:05:57 2024-12-04T14:05:57.348Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:57 2024-12-04T14:05:57.349Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:57 2024-12-04T14:05:57.350Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:57 2024-12-04T14:05:57.350Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:57 2024-12-04T14:05:57.350Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:57 2024-12-04T14:05:57.351Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:57 2024-12-04T14:05:57.351Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:57 2024-12-04T14:05:57.352Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:57 2024-12-04T14:05:57.352Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:57 2024-12-04T14:05:57.352Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:57 2024-12-04T14:05:57.352Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:57 2024-12-04T14:05:57.352Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@1882406246 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:57 2024-12-04T14:05:57.353Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@1882406246 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:57 2024-12-04T14:05:57.353Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:57 2024-12-04T14:05:57.353Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:57 2024-12-04T14:05:57.354Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:57 one: true two: true three: true updateStrategyNotCalled: false
09:05:58 one: true two: true three: true updateStrategyNotCalled: false
09:05:59 2024-12-04T14:05:59.354Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from findPropertySources: MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:59 2024-12-04T14:05:59.355Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment sources from findPropertySources : [CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]
09:05:59 2024-12-04T14:05:59.355Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : findPropertySources : [configmap.mine.spring-k8s]
09:05:59 2024-12-04T14:05:59.355Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Config Map normalized sources : [{ config-map name : 'Optional[mine]', namespace : 'Optional[spring-k8s]', prefix : '[ConfigUtils.Prefix@6144e499 name = 'DEFAULT']' }]
09:05:59 2024-12-04T14:05:59.356Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> GET http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps
09:05:59 2024-12-04T14:05:59.356Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Accept: application/json
09:05:59 2024-12-04T14:05:59.356Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Content-Type: application/json
09:05:59 2024-12-04T14:05:59.356Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : User-Agent: Kubernetes Java Client/19.0.0-SNAPSHOT
09:05:59 2024-12-04T14:05:59.357Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : --> END GET
09:05:59 2024-12-04T14:05:59.362Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- 200 OK http://localhost:33963/api/v1/namespaces/spring-k8s/configmaps (5ms)
09:05:59 2024-12-04T14:05:59.363Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Matched-Stub-Id: 422d0bd8-708b-4faf-a941-af332c6311b1
09:05:59 2024-12-04T14:05:59.363Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : Transfer-Encoding: chunked
09:05:59 2024-12-04T14:05:59.363Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : 
09:05:59 2024-12-04T14:05:59.364Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : {"items":[{"data":{"a":"b"},"metadata":{"name":"mine"}}]}
09:05:59 2024-12-04T14:05:59.364Z  INFO 55677 --- [TaskScheduler-1] okhttp3.OkHttpClient                     : <-- END HTTP (57-byte body)
09:05:59 2024-12-04T14:05:59.365Z DEBUG 55677 --- [TaskScheduler-1] .c.k.c.c.KubernetesClientConfigMapsCache : Loaded all config maps in namespace 'spring-k8s'
09:05:59 2024-12-04T14:05:59.365Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       : Found source with name : 'mine' in namespace: 'spring-k8s'
09:05:59 2024-12-04T14:05:59.365Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.commons.config.ConfigUtils       :  name has not been set, taking it from property/env spring.application.name (default=application)
09:05:59 2024-12-04T14:05:59.366Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : Adding config map property source configmap.mine.spring-k8s
09:05:59 2024-12-04T14:05:59.366Z DEBUG 55677 --- [TaskScheduler-1] s.c.k.c.c.ConfigMapPropertySourceLocator : paths property sources : []
09:05:59 2024-12-04T14:05:59.367Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : environment from locateMapPropertySources : MockEnvironment {activeProfiles=[], defaultProfiles=[default], propertySources=[CompositePropertySource {name='composite-configmap', propertySources=[KubernetesClientConfigMapPropertySource@1759647806 {name='configmap.mine.spring-k8s', properties={}}]}, MockPropertySource {name='mockProperties'},  {name='Management Server'}]}
09:05:59 2024-12-04T14:05:59.367Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : sources from locateMapPropertySources : [KubernetesClientConfigMapPropertySource@2079595754 {name='configmap.mine.spring-k8s', properties={a=b}}]
09:05:59 2024-12-04T14:05:59.367Z DEBUG 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : found change in : KubernetesClientConfigMapPropertySource@2079595754 {name='configmap.mine.spring-k8s', properties={a=b}}
09:05:59 2024-12-04T14:05:59.367Z  INFO 55677 --- [TaskScheduler-1] o.s.c.k.c.c.reload.ConfigReloadUtil      : Detected change in config maps/secrets, reload will be triggered
09:05:59 2024-12-04T14:05:59.367Z  INFO 55677 --- [TaskScheduler-1] c.k.c.c.r.PollingConfigMapChangeDetector : Detected change in config maps
09:05:59 2024-12-04T14:05:59.367Z  INFO 55677 --- [TaskScheduler-1] .s.c.k.c.c.r.ConfigurationChangeDetector : Reloading using strategy: to-console
09:05:59 one: true two: true three: true updateStrategyNotCalled: false
09:06:00 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.842 s <<< FAILURE! - in org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest
09:06:00 [ERROR] test{CapturedOutput}  Time elapsed: 21.336 s  <<< ERROR!
09:06:00 org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest was not fulfilled within 20 seconds.
09:06:00 	at org.springframework.cloud.kubernetes.client.config.reload_it.PollingReloadConfigMapTest.test(PollingReloadConfigMapTest.java:139)

@wind57
Copy link
Contributor Author

wind57 commented Dec 4, 2024

I have a hint of why they fail, will work on a test fix soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants